Add @latest to all npx @openuidev/cli commands - #373
Merged
Conversation
- Update CLI README with @latest for install and generate examples - Update all documentation files to include @latest in CLI commands - Update package.json scripts to use @latest - Update OpenUiGeneratesSchema.tsx with @latest Fixes issue where npx @openuidev/cli fails without @latest tag Co-authored-by: Zahle Khan <zahle@thesys.dev>
…-command-latest-cddf
zahlekhan
marked this pull request as ready for review
April 3, 2026 08:39
vishxrad
approved these changes
Apr 3, 2026
zahlekhan
enabled auto-merge (squash)
April 3, 2026 08:42
vishxrad
pushed a commit
that referenced
this pull request
Apr 3, 2026
- Update CLI README with @latest for install and generate examples - Update all documentation files to include @latest in CLI commands - Update package.json scripts to use @latest - Update OpenUiGeneratesSchema.tsx with @latest Fixes issue where npx @openuidev/cli fails without @latest tag Co-authored-by: Cursor Agent <cursoragent@cursor.com>
zahlekhan
added a commit
that referenced
this pull request
Apr 3, 2026
* added multi-agent exampl * added streaming to the multi-agent-chat * pnpm fix * feat: add artifact demo example and defineArtifact() API (#408) * feat: add openui-artifact-demo example New example app demonstrating the OpenUI artifact system for displaying AI-generated code in a resizable side panel. - Custom ArtifactCodeBlock genui component with inline preview and artifact panel view - Extends openuiChatLibrary with artifact-specific component and prompt rules - Syntax highlighting via react-syntax-highlighter (Prism, vscDarkPlus) - Copy-to-clipboard, language badges, filename headers - Multiple artifacts per conversation, one active at a time - Code-focused conversation starters (React, Python, CSS, SQL) * styling fix for artifact panel * feat: add Artifact() factory function in react-ui, migrate artifact demo Adds Artifact() to @openuidev/react-ui — a factory that returns a ComponentRenderer with automatic useId, useArtifact, and ArtifactPanel wiring. Consumers provide preview/panel render functions; no manual artifact boilerplate needed. No changes to lang-core or react-lang. - react-ui: new Artifact() function with ArtifactControls injection - example: migrate ArtifactCodeBlock to use Artifact() - example: remove artifactId from schema and prompt, simplify InlinePreview Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * docs: add Artifacts page to chat layout docs Explains the artifact system for consumers — Artifact() factory, ArtifactControls, layout setup, headless hooks, and manual wiring escape hatch. Placed under Chat Layouts after BottomTray. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Add @latest to all npx @openuidev/cli commands (#373) - Update CLI README with @latest for install and generate examples - Update all documentation files to include @latest in CLI commands - Update package.json scripts to use @latest - Update OpenUiGeneratesSchema.tsx with @latest Fixes issue where npx @openuidev/cli fails without @latest tag Co-authored-by: Cursor Agent <cursoragent@cursor.com> * added multi-agent exampl * pnpm fix * Merge main and resolve lockfile conflicts * Refactor assistant-message.tsx for tool output handling --------- Co-authored-by: Visharad Kashyap <visharad@Visharads-MacBook-Pro.local> Co-authored-by: Ankit Das <i-ankit@thesys.dev> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Zahle Khan <zahle@thesys.dev> Co-authored-by: Cursor Agent <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Fixed the issue where running
npx @openuidev/cliwithout the@latesttag fails with "openui: command not found". This ensures users can successfully run CLI commands as documented.Changes
@latestin all install examples and generate commands@latest@latest@latestin command exampleTest Plan
Users can verify by running:
Checklist
Slack Thread